Push cumulative weight calculation into the models