This is probably ok, but we should be on the lookout for floating point precision issues with this. IE `bvals=[0 1000, 999.9999]`.