modify marker spacing logic
modify marker spacing logic