ed: improve jpp shapes

should fix http://jira.canaltp.fr/browse/NAVITIAII-1290