legend fix - handling case with small range of values, closes #108, closes #109