open sourcing mapBuffer: rewritten version of cnets