sentences:  In prime habitat, such as the primary forest of the Danum Valley Conservation Area, recorded population densities are 21–22 pairs per square kilometre.It can also be found in areas that have been selectively logged as well as in overgrown rubber and "Albizia" plantations.The pitta is likely to have been affected by the rapid and sustained deforestation which has taken place in northern Borneo.