My current implementation has about
100% -> 80% compression, is it any good?
My implementation just prune a seed in the map,
and expand out in 4 directions, namely NE, NW, SE, SW
merge them when they fall in the size threshold.
Eventually, the loop runs out of nodes, and exits out.
Actually, I can do better, but for this time
I can try to merge E, E-E, S, S-S, SE, SE-SE etc
Thanks
Jack