Small improvement on fc_resize_elements