optimize feature loader