Refactor to new Random Forest method and jre6