Allow the user to provide the stackLength