I'm pretty sure the ```<=``` here is an outright bug and that the code will die with an illegal index exception.