Added consistency inside object algorithm