Almost fixed classification algo