setup bpcurve.params once