points-detect-change: ported