fix for translation speed and optimised up to 100,000 instances