Configurable infection distance