use QVector for gridPoints