begin adding a cut param to be able to diff big trees in a reasonable time