VM deterministic first version (with debug prints). Works only on architectures with one node per VM