add assign_height in box_