lazy decoding of CM_Params.

@alexispeter please review.
fork tests are failing.