m4 is effective length. Once you have the information for three quadratures just provide the input (not really important what is QP0 or QP1) but afterwards after running one iteration check if the values will provide the expected PSD at domain inlet.