Stability analysis of slurry trenches in similar layered soils