Added max argument to bootstrap recommendations