3D printing: Layer shifts and how to avoid them