Make sure that those Faces are exactly paralel. In Edit mode, Select those Faces of one side and use LoopTools > Flatten (for instance, you’ll need to enable the Addon), or, with the top Faces S, Z, 0 (watch out where the Pivot Point is!)
Exagerated, something lie this might cause the Shading artefacts:
