linear optimization beginning
skeletoning