fix last fix (record overflow)
Fix handling of negative dec between 0 and -1, thanks to MRC
add frequency binning