A hypercube structure for the analysis of high-fold γ-ray data