fixed issue with negative log scales
log scale buffers now take into account if the value is really close to a power of 10