code: func NormalizedBundleHash(bundleHash Hash) []int8 {
  	normalizedBundle := make([]int8, HashTrytesSize)
  	for i := 0; i < MaxSecurityLevel; i++ {
  		sum := 0
  		for j := 0; j < 27; j++ {
  			normalizedBundle[i*27+j] = int8(TritsToInt(MustTrytesToTrits(string(bundleHash[i*27+j]))))
  			sum += int(normalizedBundle[i*27+j])
  		}
  
  		if sum >= 0 {
  			for ; sum > 0; sum-- {
  				for j := 0; j < 27; j++ {
  					if normalizedBundle[i*27+j] > MinTryteValue {
  						normalizedBundle[i*27+j]--
  						break
  					}
  				}
  			}
  		} else {
  			for ; sum < 0; sum++ {
  				for j := 0; j < 27; j++ {
  					if normalizedBundle[i*27+j] < MaxTryteValue {
  						normalizedBundle[i*27+j]++
  						break
  					}
  				}
  			}
  		}
  	}
  	return normalizedBundle
  }
docs: // NormalizedBundleHash normalizes the given bundle hash, with resulting digits summing to zero.
  // It returns a slice with the tryte decimal representation without any 13/M values.