Use `minPoint` as the result parameter once you have a scratch for it. Same comment for `maxPoint` below.