func DetermineBlockSize(blockSize int) int {
	var b = blockSize
	for b > MaxBlockSize {
		b /= 2
	}
	if b == 0 || (blockSize%b != 0) {
		return 0
	}
	return b
}
// DetermineBlockSize returns a reasonable block size to use, based on the
// provided size
DetermineBlockSize returns a reasonable block size to use, based on the
provided size
// DetermineBlockSize returns a reasonable block size to use based on the // provided size
func DetermineBlockSize(blockSize int) int {
	var b = blockSize
	for b > MaxBlockSize {
		b /= 2
	}
	if b == 0 || (blockSize%b != 0) {
		return 0
	}
	return b
}
func DetermineBlockSize ( blockSize int ) int { var b = blockSize for b > MaxBlockSize { b /= 2 } if b == 0 || ( blockSize % b != 0 ) { return 0 } return b }
DetermineBlockSize returns a reasonable block size to use, based on the
provided size
DetermineBlockSize returns a reasonable block size to use based on the provided size