While keeping the buffer setting at 512 I tried all different combination of options in the settings panel and that was the best Cubase could produce.