Trapping Rain Water with constant space