Implements AMS based threshold pick

No immediate improvement (over the 0.8 hardcoded) at leaderboard.