Fluxes through diffusive staircases: A new formulation