TASK-US13-DAO: code review fixes. Splitting to slices by loadFactor; maxIndex of slice; isNew inlined; additional validation for loadFactor argument; cleanup for main method