Break out of loop once floor is found