Framework to describe applications on hierarchical Cartesian data structure