Ensure reverse_part does not access outside given vector