Implemented loop split thread.