color clustering for agar is hard, and halfworking strand function using polynomial cost pathing