Compactify the zero padding.