Introduce minOpacity logic