Code: Select all
area = {left_top = {x = n*32, y = m*32}, bottom_right = {x = (n+1)*32, y = (m+1)*32}}
This is too big, as seen here:

Returned area should be:
Code: Select all
area = {left_top = {x = n*32, y = m*32}, bottom_right = {x = n*32 + 31, y = m*32 + 31}}