refactor code, change how vw2imgsList is stored in iindex for speed