HAMM distance solved, TESTED, ACCEPTED