loop of dimensions