Finished implementation of avoiding intra-sharing competition. Now begin to test