add remainCdf