An extended numerical procedure for predicting microstructure and microsegregation of multicomponent alloys