fixed sample relative position computation