added method isBetweenLayers to the obstacles
Added check for the ls level to the frozen-free forces computations