optimized graded rsm derivatives