Improved CSStacks.equals