\begin{equation}
   M=MAX(0.25,MIN(1,M)
\end{equation}
