made gradient computation less expensive
jitter the grid to avoid false negative
added border triangle to get more information from neighbors node. also properly add final compaction that removes these triangles completely from the frame buffer
fixed border removal. some unused vertices and triangles were not properly removed
removed some unused code