Make the shm segment size configurable