improved the way 511 peaks are looked up