Fixed a bug with the cluster factor and a conversion to float.