remove dim from snake constructor