added setting for marker spacing