Implement average point of document