refine an arrange box