Too big shift: fix FP when cast is used