ver3

-algo for searching depth values
-changed marker
-improve grouping