evalPolicy function uses multiple threads now