Make vij a little more flexible.