Added support for predefined bin edges for profiles (successfully tested)