Superbursts and long bursts as surface phenomenon of compact objects