simple allocator
specialized for pst
Merge branch 'pstfog' of https://github.com/aqrit/ddwrapper into pstfog