Optimized maze generation random ops