reverted to average determination of circle instead of min enclosing