Bug fixed for supression

When local max < set feature_num, the program failed. Set feature_num to
id when id < feature_num.