tools.bounds: avoid namespace pollution
tools.structure - adding feature: callable extraIndex