Since note groups are not allowed to be followed by an eighth note, stop searching for shorter note groups in the recursion.