EM spectrum, Leslie cube and blackbody radiation