hopefully additional speedup by having a lightweight setpar

this sets only the C-compatible verision of the parameters and
should therefore be called by the optimizer