fixed floating point comparison for uniform optimizations
added lazy evaluation of AttrivArrayEnable/Disable