Architectural features of the temple point to multiple historical layers