use bearing to determine whether tile is enclosed. doesnt totally work...