mvcd function, valgrind without show-reachable