Split vars into Scalar and Vector