Pseudo-code (might actually work..) for preferring idle spark nodes..