new “setUniform” functions in program and Dictionary optimisations