handle floats between -1 and 1 - fixes #6