doing the local edge computation step only for the non empty cubes instead of doing it for all cubes
mapping the non empty cube details to the start of all arrays & doing the computation, gives the correct results