Refine the sweep tool