Modifications to fix library issues and to adapt the WMS for small float values