WIP, add static modifiers, comments, rename possig_part to read_vector and separate out; integrate pos_buffer into coordinate sorted mkdup. Add test.

[ci skip]