Make delta global, fixes #88