made the svm training code work better under memory constraints