limit entities length