optimizized calculation of authority