Fix alignment of the hashe containing different key lengths