Optimizing the row-angle and speed