Add Minimum Distance Between Two Items In Array