Update Basic.pm

Code optimized to skin based path analysis