How did Utah get its shape?

Utah is a box shaped because it would be quicker for U.S congress to make utah as a state but naturally utah's geography is flat so they made their border lines neat and straight