removed max_feature variables