fixed issue in _squash()/_combine() that caused slams to fail when grid is not square