Replace bit shifts that are really multiplication and division with simple operators now