implement getCoordinates using average of all seen elements with known positioning