Removing excess 00s from vector