Implement and debugged for computemass with lower_bound using simulated array functor