Extract b0 before resampling