adds range_max param (only for xyz)
Merge pull request #1 from efernandez/adds_range_max_param

Add range_max param