BoxToArray.cc fixed