debug prints
mapping works for all max repeat nodes, except only when looking through all of the pairs list