The material a bird selects for its nest depends on the dimensions of its beak, according to researchers.