Router var search increment to bitwise

Clean code