Global optimization based on TT-decomposition