[MRG] make middle hist optional in get_band