speed up sampling skeleton done