now working with multiple block sizes