The present invention relates to the use of a shaped bottom electrode in a resistance variable memory device. The method can be applied to manufacturing LED device having a flip chip structure or a vertical chip structure. The rail includes a flexible web that couples the impact rim to the baseplate.