Refactor per-node-scan-start into a function