clean up on aisle algorithm