use longest_monotonous_subseq_length() in assembly.allmaps.path()