use right shift instead of division