improve baseline detection (level determination between peaks)