Reconstructing prehistoric Pueblo societies