Haar and shannon construction