virt: Cartesian config bugfix and speed, memory optimization

Optimization:
<ul>
 <li> virt: Cartesian config speed and memory optimization. <\li>
<\ul>

Bugfix:
<ul>
 <li> virt: Cartesian config bug repair.  <\li>
<\ul>