Algorithm-6-Up-from-Floor