Hash-based trees for speeding up Support Vector Machines