Finished check of rectangle clearance