Blend the two together and you can control the distance. Use a Histogram Scan before the last Invert Grayscale on the lower method to control the contrast better using the Position input.