unit16 causes numerical issues, float32 seems OK