fixed off-by-one error in bin to split conversion