fixed new y-marking strategy