Prevent infinite loop in subdivision

Fixes:
https://github.com/anvaka/ngraph.quadtreebh/issues/1
https://github.com/anvaka/ngraph.quadtreebh/issues/2
https://github.com/anvaka/ngraph.forcelayout/pull/1
0.0.2