add ctr using libgbdt