Safe buffer position when switching