add constants
update helpers
update test_extents for helpers
update net for 5.2
use system cairo context