A model for cardiopulmonary bypass redesign