2D sine waves #optimization fail