Finished coding planar hull algorithm, but java runs out of memor