after a long day of battle with python , i added a little more code. now  it picks out the centers of the orders in a chunk