Consistent and Reconfigurable Shared Memory