fix size of sequences