Mechanism of thickness determination in polymer crystals