Combining computer models to account for mass loss in stellar evolution