added algo_positions
merge