added the recursive function to calculate all intensitylevels above thresshold, need to define drawing functions for the intensityBlocks