In solidworks when we create a dimension it immediately puts the dimension in and sketch becomes completely distorted.so that we can delay rebuild in a sketch untill all the dimensions are inserted using Automatic Solve mode under sketch settings.
This video demonstrates how to use Automatic solve mode in solidworks sketcher