add functions to cut-off conv layer