merit calculation process