some flexify / resizable optimizations