change drawArrays to drawElements, reduce redundant vertex info