tiny optimization to vm