grid boundaries and movement set