within_cap

Function within_cap 

pub fn within_cap(len: u64, max: u64) -> bool