Getting average cycles