[merge] dont merge if dist > sqrt 30
[export8u] compute real min/max from data