BNP Generation Improvement

Instead of checking newly added points the edges are chcecked if they
were already used
This improves numerical stability (comparing integers instead of floats)
as well as speed