changes for calcMap/calcResidues difficulty !NOT FINAL FIX! but
everything else what doesn't belong to this problem is save!