added option for defining intensity map by limits