change the selection of 1st+last frames point to exclude those close to out-of-slab slices
let s stop there