Really use 32 bit for phasemask.