Factoring UNIT_SIZE into a constant.