commit in-between; for safety before changes only
changed the DR spectrum: tree saves not only intensity but also frequency
several changes done, a few bugs eliminated
several changes done, a few bugs eliminated