small bug fix associated with length of VIRTUAL_MASS for virtual mass term