fast classify for iteration