Container height matching