 The Xia and early Shang palace was a miniature diagram of this cosmos.It had a traditional Longshan square shape oriented strictly north-south since "qi" flows that direction.This square was further subdivided into nine parts based on the now ancient nine-in-one square, which had become a prosperity symbol.