build basic node matrix