made iterative instead of recursive, only ever operate on final pixel in edges.

Much faster!