It is unclear to me why we depend on the function length here.