adding buggy linspace that throws gruesome crash