Add comment about quadratic complexity