Optimization of power density by decreasing the length of tungsten wire array Z pinches