For best results, use a mandoline to slice potatoes thinly and uniformly. You can assemble this dish ahead of time and bake it when ready; just ensure it reaches proper internal temperature and tenderness. If the top starts to brown too quickly, you may loosely cover it with foil.