Improve efficiency of calculating the auth chain in large rooms.