Added setupWithSpaceForN

Added a generic setup routine that allows the user to setup an arbitrary amount of segments without setting up their content right away.