Slightly changed VC memory scheme, now all compiles. Not tested