partial re-work of min/med/max conversion to curve.. currently tested to normal