remove extra entries from the roundkeys arrays