Design of afocal components