added constant marking for state-less basic nodes