apit algorithm started