the palace had taken thousands of artisans and craftsmen three decades to finish in the mid-seventeenth century , and it had always felt to her as if the accumulation of history resonated in its halls , inhabited it walls .