Adding max_ht to Shape_Grammar class