Making some progress on the packeting problems, have found a few errors