Quasi bound states in the continuum with few unit cells of photonic crystal slab