In this case the Mayan society had already gotten to a point where they were able to build monuments that have lasted thousands of years. I am not that surprised that had incredibly sophisticated agriculture on a large scale because how else would they support a large population in the cities?