Fix ArrayDigest ordering when the page size is not a multiple of 2.

ArrayDigest might insert centroids out of order when the page size is not a multiple of 2. This is not a big deal in practice since most users probably use the default page size of 32.