tunning Constraiend optimizations