Why was the Egyptian state able to build the pyramids?