Build menu recursivly.