4-nearest edge smoothing, faster extract