Spatial structure and energy spectrum of ion beams studied with CN detectors within a small PF device