fixed precompute script to only precompute necessary VI instances