Effect of compacting soil on changes in its strength