Stellar mass spectrum within massive collapsing clumps - II. Thermodynamics and tidal forces of the first Larson core. A robust mechanism for the peak of the IMFYueh-Ning Lee and Patrick HennebelleA&A, 611 (2018) A89DOI: https://doi.org/10.1051/0004-6361/201731523