The authors study algebras of singular integral operators on $\mathbb R^n$ and nilpotent Lie groups that arise when considering the composition of Calderon-Zygmund operators with different homogeneities, such as operators occuring in sub-elliptic problems and those arising in elliptic problems.