Role of anisotropy and inhomogeneity in Lemaitre-Tolman-Bondi collapse