Fixed hyperplane generation issue.