Fixing translate. Introduced translateRange.