On use of iterates of endomorphisms for constructing groups with specific properties