Enable reshape function with new geometry and move code to QgsGeos