Set opt level of used environment