reverted change unique random boundary pixel