A rectangular swimming pool is 50 meters long and 25 meters wide. Its depth is always the same along its width but linearly increases along its length from 1 meter at one end to 4 meters at the other end. How much water (in cubic meters) is needed to completely fill the pool?