doubled the shard count internally for fast bisect so input count and output count match