shrinking the size of the bitsets
sorting triangles
java-doc