coded laying areas of a point respect to rectangular prism