Modified parser to return indices instead of faces