Multilayered Atomic Relaxation in van der Waals Heterostructures