Implement getConnectionConfig
Use PieceSize then appropriate
Implement spans function