Thread max_ply removed