Computing the Configuration Space on Reconfiguration Mesh Multiprocessors