now inspecting trees also in parallel part of code.