Set dist to 15 and uncomment the non_dubl condition