all decision creation for 0 white pins reduced to 2 generalized loops