routes: do not add 00 and ff boundaries if they are already there