changed reg utility algorithm for clarity and king weights