 		
 		_bucket_width = @BUCKET_WIDTH
 
-		(x % _bucket_width >> 0) +
-		(y % _bucket_width >> 0) * _bucket_width +
-		(z % _bucket_width >> 0) * _bucket_width * _bucket_width
+		(x % _bucket_width) +
+		(y % _bucket_width) * _bucket_width +
+		(z % _bucket_width) * _bucket_width * _bucket_width
 
 	# Want to add data? Make sure the cuboid is big enough.
 	# This one is for passing real point coordinates.


			colors[i / 3] = interpolate(x, y, z, _value)
		
		# console.profileEnd("Model.Binary.get")
		callback(null, colors) if callback

	

		@cubeOffset = cubeOffset
		@cubeSize   = cubeSize

	getColor : (x, y, z) ->
		
		unless (_cube = @cube)
			return 0

		_bucket_width = @BUCKET_WIDTH
		_offset       = @cubeOffset
		_size         = @cubeSize

		_bucketIndex = 
			(x / _bucket_width - _offset[0]) + 
			(y / _bucket_width - _offset[1]) * _size[0] + 
			(z / _bucket_width - _offset[2]) * _size[0] * _size[1] >> 0
		_pointIndex = 
			(x % _bucket_width) +
			(y % _bucket_width) * _bucket_width +
			(z % _bucket_width) * _bucket_width * _bucket_width
		
		if (_bucket = _cube[_bucketIndex])
			_bucket[_pointIndex]
		else
			0

	# Get or set a color value of a point.
	# Keep in mind that 0 represents a undefined value.
	# Real color values range from 1 to 2 -- with black being 0 and white 1.
