builder can make a matrix for 4^n nodes