Changing bulge detection algorithm...
Now more correct version