refine parent assignments