Start work on finding cycles method