speedup. divisions replaced by shifts.