Changed division to bitshift

Division by 4 changed to double bitshift