[enh] refactor
[mod] merge_vectors separated
[enh] compatibility