finding optimal spatial distributions using agent based modeling