remove trailing whitespace
complete a reasonable bbox map