Removed unused stuff
Fixed bug in offsetting feature slice.