h2 working greedily. more tests needed