Fix prealloc order in seq