Surface and bulk contributions to nematic order reconstruction