make creating SnapshotSpan from a range safe with debug diagnostics