From Block to Convolutional Codes Using Block Distances