docs: private boolean reset(int bucket_count, double min_value, double max_value,
  			int capacity) {
  		if (bucket_count < 2 || max_value == min_value)
  			return false;
  
  		int bc = Math.min(MAXBUCKETS, bucket_count);
  		m_buckets.reserve(bc);
  		m_buckets.resize(bc);
  		m_buckets.setRange(0, 0, m_buckets.size());
  		m_min_value = min_value;
  		m_max_value = max_value;
  		m_bucketed_indices.resize(capacity);
  
  		m_dy = (max_value - min_value) / (bc - 1);
  		return true;
  	}