Maybe the algo has a bug in it - seems like it should preserve the 2 and just leave the string in an unchanged form (since it's already spaced).