util.bcast pre compute broadcasted shape