Add Log space to prevent underflow