FIX: bug in criterion threshold when there are multiple features