Fix a bug in bin_local noticed by Marco

Need to thread the outermost accumulator through in `bin_local.`

Good catch Marco!