Fix bug in trapping and DelaunayCubic logger