A Locally Optimal Design Algorithm for Block