Changed default distance to be set on server side

Fixes #174