Concurrent filling of a plurality of trenches having a different trench shape or dimension