Heavy quark suppression in central Au+Au collisions is expected to be smaller than that of light quarks. However experimental data suggest that they are evenly suppressed. We propose considering fluctuations in the medium as they may lead to high-density regions which in turn can cause a considerable quark suppression at the early stages of the collision evolution. To analyse the overall effect of these fluctuations we perform computer simulations of charm and bottom propagating through the quark-gluon plasma and obtain estimates of the nuclear modification factor RAA. This quantity gives us information about the heavy quark suppression that can be compared to published experimental data from the STAR experiment.