apply cumulative penalty only on features of current example