Ancient builders weren’t so primitive