Changed some stuff for the signs and optimum distance