vipsprofile speed problems fixed

moved to O(n) layout