Weighted BACON algorithms
