added capability to run on hiforests