Border energy calculation is done.

There is a dumb threshold used for decisions. This needs to be replaced with some sort of 'adaptive' threshold says the paper.