fixed error with weights and _range, only found when use KML and weights
fixed issue of other data types with _ranges, only visible when use KML
changed internal class storage of points to flat