Use vertex arrays for faster converstion