more work on prefixes - and hitting some weird bug in f# Map datastructure