Combination and distribution of reservoir space in complex carbonate rocks