P-step now accepts time scaling as input of the optimization