Effects of heterogeneities in dose distributions: Monte Carlo simulation vs dose calculation algorithms