Abstract
The previous implementation of bitonic son on the hypercube requires the number of input keys to be a power of 2. For sorting an arbitrary number of keys, one commmon way is to add dummy keys with maximal values to the end of the input to make ihe total number of keys a power number of 2.