geometry factory cleanup