Adds the checks for breaking the structure and squeezing between neighbor cells when moving