Slightly better peak detection