Add dynamic half plane algorithm.
Delete ztreap.