distance-pairs.c: rerange result to 0-5
makefile: add min-support into makefile