abort inline if loop too much