Support bin counts > 256