restricted spinning from 2 rows/columns from edges to avoid out of bounds