Making random initialization range customizable