 			}
 			
 			_sortedValues = new Array();
+			_numOfBins = numOfBins.value;
 			_keyCount = 0;
 			_previousSortedValues.length = 0;
 			

			_compoundIterateAll(-1); // reset compound task
			
			// high priority because not much can be done without data
			WeaveAPI.StageUtils.startTask(asyncResultCallbacks, _compoundIterateAll, WeaveAPI.TASK_PRIORITY_HIGH, _handleJenksBreaks);
		}
		
		private var _compoundIterateAll:Function = StageUtils.generateCompoundIterativeTask(_getValueFromKeys, _iterateSortedKeys, _iterateJenksBreaks);
		
		private var _keyCount:int = 0;
		private var _keys:Array = []; 
		private function _getValueFromKeys(stopTime:int):Number

					if(i4 !=0)
					{
						_p = 2;
						for (; _p < _numOfBins + 1; _p++)
						{
							// if adding this element to an existing class
							// will increase its variance beyond the limit, break
