Mechanical selfsimilarity of polymers during chemical gelation