strip unused intersection code