Handle zero length data in subtracting minimum/mean
Clip zoom range