Merge "Use another Vector as a swap to reduce computing complexity"