Cut off huge arrays early for certain debug output
Improved constant folding: max/min for int, cos, sin, acos, asin, normalize
Do not unnecessarily allocate storage and extra copying of array constants.