getting rid of inner loops in drifters
these have been noticeably slow on the pi - this should help a lot