generate starting square structure