Implemented varible link distance and strength