Missed step 0 (subtraction from each row and column their min item) was added (actualy step 1 was extended).