Added dataSector to layer class and dataSector inconsistency check