optimization: bin counts as unsigned itnegers