Got it. You are not passing the index, but the bin to the model's index.
Cool.