Doubled grid size, added a boundary wall to the perimeter to remove the out of bound exceptions.