Compacting before sweeping in the sand