Anshen and Allen buildings