added fix for bin_size in energy dead series suggested by fgrosse