I am 100% sure that this is correct, but if you prove me wrong, please tell:]
------------------------------------------------------------------------|
------------------------------------------------------------------------|
---------------------h-----------------------2--------------------------|
-------------0--2---0-2-0------------------3----------------------------|
---0-0-0-3--------------------3-2-------3-------------------------------|
--------------------------------------1---------------------------------|
---------------------------------------0------------------------------|
-------------------------------------1--------------------------------|
---------------------h-------------2----------------------------------|
--------------2---0-2-0----------2------------------------------------|
-----------2---------------3-2-0--------------------------------------|
--0-0-0-4-------------------------------------------------------------|
--1---------5----------8------------------------------------------|
--1---------6----------10-----------------------------------------|
--2---------5----------10-----------------------------------------|
------------------------------------------------------------------|
------------------------------------------------------------------|
------------------------------------------------------------------|