Fix bug with assigment of LeaderB
Add n_val to bucket type specificaitons