Algorithm 864: General and robot-packable variants of the three-dimensional bin packing problem