fixed some bugs in vocab tree. when give too many images throws memory issues still