main memory based index - vector implementation