fill segments' parent in constructor