fix range error
proper conditionals on tile quadrant checking