Cast to 32-bit to perform a little better on ARM probably