refactored isInExtent() function
side's UV computed (ref #91)