Splitting of loop when building host-context