Fixed sparse problem generation