calculate variance of uniform distribution - Search