Two limits of melting temperatures of nanocrystals