Use u32 for mult and shift factors