First find gates, then do BVA, then elim
Removing debug data from BVA

Thanks for Martin Maurer for pointing this out

Fixes #144