Fix key sizes.