A robust approximation for yard template optimization under uncertainty