added VLAD encoding