new vertical positioning algorithm + sync with phenotips