test split link by disstance