New discovery shows what helped the ancient Egyptians build the pyramids