brownian motion compile