smarter vm startup algorithm