Brazil rebuilding some structures after riots