full static rewrite of vector unit