Code optimisation - change float array from 16 fields to 9