This step is mostly ported and refactored from the first CuraEngine commit.
It is responsible for
- find neighbour faces for each face
- find faces with open sides (which have no neighbour) which is bad for 3D printing.
- moving the model into the center
The code for this can be found in the folder optimizer.