Another grooved plank is glued on top , and the whole thing is then cut into individual pencils , which are then varnished or painted . Another grooved plank is glued on top , and the whole assembly is then cut into individual pencils , which are then varnished or painted .