fix bugs, add --log-file option
Errors in geometry processing