Influence of the geometry on the pressure distribution of granular heaps