Moved from random-walker repo