Update polyAextract.java