Near constant time word unscrambling