starlings law of the heart holds that the
stroke volume of the heart increases in response to an increase in the volume of blood in the ventricles , before contraction ( the end diastolic volume ) , when all other factors remain constant .