fix bounds for as_mut_slice