removed passing of tree number from Fortran code