normalize arrays of degenerate sizes