Transport of an ion beam through an octopole guide operating in the RF-only mode