The 4th dimension of the scan needed to be adjusted to account for junk frames
4 lines of code changed in 1 file: