set the referenc to the right size on VMs