A million estate divided among the legitimate children, legal spouse, illegitimate children and the free portion

Legitimate children are entitled to half of the estate and the remainig is divided among the legal spouse, illegitimates and the free portion