Changed merge treshold to 5cm, added some comments.
Fixed follow_path merge method, so it does not deletes a neighbor
pixel if it is used to merge.
Improved merging method by adding again the row_treshold check