added "map" function
added outer size functions (they are not the same as offset)