@odebeir max_bin is actually incremented in line 75 of core_cy.pyx and if I already increment it in _handle_input test cases start to fail.