moved compare tops logic, added evaluate by in DPT search

compare tops logic moved to children creation method