A modular description for collimator geometry in EGS simulation tasks