Fix #4: splitting axes

Also improved edge curvature algorithm, but not to completion