score tree construction added