Url Shortening algo change