WIP : dynamically adjustable spinloop