the cathedral architecture was built in phases