Allow span to be configured and default to 10