preprocessing almost done, starting optimization
tests, preprocessing and optimization