added comments to SparseQuads for clarity