added preliminary length mapping