added comparison of MAM distances.