addition to tboxarray and fix to pixelshift