Fix same value shapeArray