compress forloop init