An efficient method for decomposition of regular structures using graph products | Synapse