TLE edition
maybe STL is too slow