 extension PrecisionSliderCellModel {
 	func sliderViewModel() -> PrecisionSlider_InnerModel {
 		let instance = PrecisionSlider_InnerModel()
-		var count = Int(floor(maximumValue) - ceil(minimumValue))
+		instance.minimumValue = minimumValue
+		instance.maximumValue = maximumValue
+		
+		let count = Int(floor(maximumValue) - ceil(minimumValue))
 		if count < 0 {
-			print("WARNING: count is negative. maximumValue=\(maximumValue)  minimumValue=\(minimumValue)")
-			count = 0
+			//print("partial item that doesn't cross a integer boundary. maximumValue=\(maximumValue)  minimumValue=\(minimumValue)")
+			instance.numberOfFullItems = 0
+			instance.hasOnePartialItem = true
+			instance.sizeOfOnePartialItem = maximumValue - minimumValue
+			instance.hasPartialItemBefore = false
+			instance.sizeOfPartialItemBefore = 0
+			instance.hasPartialItemAfter = false
+			instance.sizeOfPartialItemAfter = 0
+			return instance
 		}
 		instance.numberOfFullItems = count
 

	var lengthOfAllFullItems: Double {
		return Double(numberOfFullItems) * lengthOfFullItem
	}
	var lengthOfPartialItemBefore: Double {
		return ceil(lengthOfFullItem * sizeOfPartialItemBefore)
	}

	var debugDescription: String {
		var strings = [String]()
		strings.append(String(format: "range: %.5f %.5f", minimumValue, maximumValue))
		if hasOnePartialItem {
			strings.append(String(format: "one-partial: %.5f", sizeOfOnePartialItem))
		}
		if hasPartialItemBefore {
			strings.append(String(format: "partial-before: %.5f", sizeOfPartialItemBefore))
		}
		strings.append("full: \(numberOfFullItems)")
		if hasPartialItemAfter {
			strings.append(String(format: "partial-after: %.5f", sizeOfPartialItemAfter))
		}
		return strings.joinWithSeparator(" , ")
	}
