working when all shapes are 1s