updated peak centering. be smarter when expanding scan limits