Added proper truncating of visualization values.