This is a common thing in complexity, and I think even the abstract says it is talking about “length n” and not “magnitude n”