Fixed bug in Occurence with BinSize -1