add getTopTerms() function in Point.class