Random forest feature optimization