Previous implementation did not accept a vector of dynamic size of size 3. This commit fixes the issue.