[#3] Adding calculation skeleton, fixes in internal rendering modes.