Formation of a uniform ion beam using octupole magnets for BioLEIR facility at CERN